﻿namespace FFF.Test.Application.Repositories.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW;

	/// <summary>
    /// 功能表(树)展示时候的dto
    /// </summary>
	[AutoMap(typeof(FWFunctionEntity))] 
    public class FWFunctionResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 对应的系统
        /// </summary>
		[Display(Name = "对应的系统", Description = "对应的系统")]
        [Column("ApplicationGUID")]
        public Guid? ApplicationGUID { get; set; }
        
		/// <summary>
        /// 功能名称
        /// </summary>
		[Display(Name = "功能名称", Description = "功能名称")]
        [Column("FunctionName")]
		[StringLength(64)]
        public string FunctionName { get; set; }
        
		/// <summary>
        /// 功能代码
        /// </summary>
		[Display(Name = "功能代码", Description = "功能代码")]
        [Column("FunctionCode")]
		[StringLength(64)]
        public string FunctionCode { get; set; }
        
		/// <summary>
        /// 页面地址
        /// </summary>
		[Display(Name = "页面地址", Description = "页面地址")]
        [Column("FunctionUrl")]
		[StringLength(256)]
        public string FunctionUrl { get; set; }
        
		/// <summary>
        /// 说明
        /// </summary>
		[Display(Name = "说明", Description = "说明")]
        [Column("FunctionComments")]
		[StringLength(99999)]
        public string FunctionComments { get; set; }
        
		/// <summary>
        /// 是否禁用
        /// </summary>
		[Display(Name = "是否禁用", Description = "是否禁用")]
        [Column("FunctionIsDisable")]
        public byte FunctionIsDisable { get; set; }
        
		/// <summary>
        /// 功能帮助文件
        /// </summary>
		[Display(Name = "功能帮助文件", Description = "功能帮助文件")]
        [Column("FunctionHelpUrl")]
		[StringLength(256)]
        public string FunctionHelpUrl { get; set; }
        
    }
}
